home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’97
/
Crash & Burn
/
source code
/
(Internalized Files)
/
Development
/
Libraries
/
Hubauer
/
AsmHelpers.h
next >
Wrap
Text File
|
1996-06-01
|
831b
|
66 lines
#ifndef _ASMHELPERS_
#define _ASMHELPERS_
/*********************************************************************
AsmHelpers
Here are a few helper functions that can be changed if we
need to compile under a different compilers
These are set up for MetroWerks
AUTHORS: Bill Hubauer (BH)
HISTORY:
WHEN WHO WHAT
---- --- ----
1/95 BH Created
**********************************************************************/
static asm long GetA0()
{
move.l a0,d0
rts
}
static asm long GetA1()
{
move.l a1,d0
rts
}
static asm void SetA1(long:__D0)
{
move.l d0,a1
rts
}
static asm long GetA5()
{
move.l a5,d0
rts
}
static asm long _GetA4()
{
move.l a4,d0
rts
}
static asm long GetD0()
{
rts
}
static asm void SetD0(long:__D0)
{
rts
}
long _SetA4(long:__D0):__D0 = 0xC18C;
#endif // _ASMHELPERS_